I want to set the Object text paragraph style based on an attribute...I just do not know the format of the applyTextFormattingToParagraph declaration I assume I would have to use: I want to change the paragraph style to "Caption" if the Object type attribute is Figure. Basically I think the DXL would be something like:? if (obj."Object Type" "" == "Figure") o."Object text" = richText (applyTextFormattingToParagraph(richText("Caption")) I know this is not right, but what is the command to change object test style to what I want? Thanks branchwp - Wed Oct 01 12:36:04 EDT 2014 |
Re: Setting Paragraph Style I guess what you are looking for is the applyTextFormattingToParagraph description? I found the following: o."Object Text" = richText applyTextFormattingToParagraph(initialValue, bUseBullets, indent_twips, paragraphNumber, firstLineIndent_twips) Does this help you? Regards, Mathias |